import Router from 'koa-router'
import UserController from '@/api/UserController'

const router = new Router()
router.prefix('/user')
router.get('/fav', UserController.userSign)
router.post('/basic', UserController.updateUserInfo)
router.post('/upword', UserController.updateWord)
router.get('/post', UserController.postList)
router.get('/del', UserController.setdel)
router.get('/collect', UserController.getcollect)
router.get('/getmsg', UserController.getMsg)
router.get('/setmsg', UserController.setMsg)

export default router
